package com.sstir.doctor.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @ClassName UserScoreVO
 * @Description
 * @Author hanjunjun
 * @Date 2021/1/14 18:35
 */
@Setter
@Getter
@NoArgsConstructor
@ApiModel("提交用户分数")
public class UserScoreVO {

    @ApiModelProperty("用户名")
    @NotBlank
    private String username;

    @ApiModelProperty("游戏难度：1-简单,2-中等,3-困难")
    private String userDiff;

    @ApiModelProperty("分数")
    @NotNull
    private Integer score;

}
